﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SetsItemList.aspx.cs" Inherits="UI.ModSalary.DefAccountSetItemList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>帐套项目列表</title>
    <link rel="stylesheet" type="text/css" href="../Styles/BaseStyle.css" />
         <script type="text/javascript" src="../JS/jsFunction.js"></script>

</head>
<body>
    <form id="form1" runat="server">
    <div id="pagetop" class="pagetop">
        <div class="pagetopleft">
            <b>工资方案项目</b></div>
        <div class="pagetopright">
            <asp:DropDownList ID="ddlAccountSet" runat="server" CssClass="InputCss" 
                AutoPostBack="True" onselectedindexchanged="ddlAccountSet_SelectedIndexChanged">
            </asp:DropDownList> &nbsp;
             <asp:Button ID="btnAdd" CssClass="InputCss" runat="server" Text="增加" /> &nbsp; 
              <asp:Button ID="btnConfigTax" CssClass="InputCss" runat="server" Text="所得税设置" /> &nbsp;           
            <a href="#" onclick="javascript:window.location.reload()">刷新</a> 
            <a href="javascript:history.back()">   后退</a>
        </div>
    </div>
     <asp:GridView ID="gvList" runat="server" AutoGenerateColumns="False"
        DataKeyNames="ID"  Width="88%" CssClass="td"
        HorizontalAlign="Center" onrowdatabound="gvList_RowDataBound">
            <AlternatingRowStyle BackColor="#F2F2ED" />
        <Columns>
          
            <asp:BoundField DataField="ID" HeaderText="ID" InsertVisible="False" ReadOnly="True"
                SortExpression="ID" />
                 <asp:BoundField DataField="AbsIndex" HeaderText="序号" ItemStyle-Width="60"  SortExpression="AbsIndex" />
        

             <asp:TemplateField HeaderText="名称" SortExpression="ItemName">
                <ItemTemplate>
                    <a href="javascript:ShowLink('SetsItemAdd.aspx?Aset=<%# Eval("SetsID")%>&ID=<%# Eval("ID")%>',850,600)">
                        <%# Eval("ItemName")%></a>
                </ItemTemplate>
                <ItemStyle Width="120px" />
            </asp:TemplateField>

            
            <asp:BoundField DataField="ItemType" HeaderText="类型" ItemStyle-Width="80"  SortExpression="ItemType" />
            <asp:BoundField DataField="InitValue" HeaderText="初始值" ItemStyle-Width="80"  SortExpression="InitValue" />
             <asp:BoundField DataField="WageItem" HeaderText="项目代码" ItemStyle-Width="70" SortExpression="WageItem" />
        <asp:BoundField DataField="CnFormula" HeaderText="计算公式" SortExpression="CnFormula" />
        </Columns>        
            <HeaderStyle BackColor="#009999" />
    </asp:GridView>
    </form>
</body>
</html>
